package com.bloveoa.zkkd.repository;

import com.bloveoa.zkkd.doman.OutTokenModel;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OutTokenRepository extends JpaRepository<OutTokenModel, Integer> {

    boolean existsByTxHash(String txHash);

    List<OutTokenModel> findAllByFlagDelete(Boolean flagDelete);
}
